package cn.edu.xaut.mybatisers.mall.Service;

import cn.edu.xaut.mybatisers.mall.Entity.Favourite;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpSession;
import java.sql.SQLException;
import java.util.List;

@Service
public interface FavouriteService {
    Boolean incF(Favourite f) throws SQLException;
    Boolean subF(Favourite f) throws SQLException;
    List<Integer> getAllFavourite(HttpSession session) throws SQLException;
}
